/**
 * Created by jude on 2015/12/17.
 * 路由总入口
 */
var routes = require('./index');
var sceniclistRoute = require('../server/scenicspot/routes/sceniclistRoute');//景点列表
var loginRoute=require('../server/login/routes/loginRoute');
var mineRoute=require('../server/mine/routes/mineRoute');//我的
var cartRoute=require('../server/shoppingcart/routes/cartRoute');
var userRoute = require('../server/user/routes/userRoute')


module.exports = function(app) {
    app.use('/', routes);
    app.use('/scenicspot',sceniclistRoute);
    app.use('/login',loginRoute);//登录
    app.use('/mine',mineRoute);//我的
    app.use('/cart',cartRoute);//购物车
    app.use('/user',userRoute);

};
